package com.milepost.workflow.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.milepost.workflow.user.entity.UsersEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huarf
 * @Description
 * @create 2022-03-23 22:26
 */
public interface UserMapper extends BaseMapper<UsersEntity> {

    /**
     * 根据名称模糊匹配
     * @param name
     * @return
     */
    List<UsersEntity> getByName(@Param("name") String name);

}
